import request from '@/utils/request'

/**
 * 保存分享
 * @param data
 * @returns {AxiosPromise}
 */
export function save(data) {
  return request({
    url: '/api/fd/document_share/save',
    method: 'post',
    data
  })
}

/**
 * 查询分享记录
 * @param data
 * @returns {AxiosPromise}
 */
export function page(data) {
  return request({
    url: '/api/fd/document_share/page',
    method: 'post',
    data
  })
}


/**
 * 查询分享记录
 * @param data
 * @returns {AxiosPromise}
 */
export function deleted(data) {
  return request({
    url: '/api/fd/document_share/delete',
    method: 'post',
    data
  })
}


